package com.itheima.a04extendsdemo2;

public class TestDog {
    public static void main(String[] args) {
        Huskey h = new Huskey();
        h.eat();
        h.drink();
        h.lookHome();
        h.breakHome();
        Sharpei s = new Sharpei();
        s.eat();
        s.drink();
        s.lookHome();

        ChineseDog cd = new ChineseDog();
        cd.eat();
        cd.drink();
        cd.lookHome();

    }
}
